
<template>
    <div class="connect">
        <div class="container">
            <div class="connect_other">
                <p>B站主页：</p>
                <a href="https://space.bilibili.com/73785133" target="_blank" class="bilibili">
                <div class="bi">
                    <div class="bi_img">
                        <img src="../../assets/img/bi_img.jpg" alt="">
                        <span></span>
                    </div>
                    <div class="bi_con">
                        <div class="bi_tit">
                            <span>BigCat_</span>
                            <span></span>
                            <span></span>
                            <span></span>
                            <span>抱狸龙</span>
                            <span>12</span>
                        </div>
                        <div class="bi_span">
                            一路风雨我在前Dennis
                        </div>
                    </div>
                </div>
            </a>
            </div>

            <div class="connect_other">
                <p>git平台：</p>
                <a href="" target="_blank">github</a>
                <a href="https://gitee.com/jiezinihao/projects">gitee</a>
            </div>
            <div class="connect_msg">
                <h3>
                    网站留言
                </h3>
                <div class="connect_msg_con">
                    <p><em>匿名：</em> 1223</p>
                    <p><em>匿名：</em>你好，作者</p>
                    <p><em>匿名：</em>你好</p>
                    <p><em>匿名：</em>巴拉巴拉</p>

                </div>
                <h4>我也写一句:</h4>
                <input class="input_name" type="text" id="name" placeholder="昵称" value="匿名">
                <input type="text" id="message" placeholder="想说什么~">
            </div>
        </div>
    </div>
</template>
<script setup lang="ts">


</script>
<style scoped lang="scss">
a {
    text-decoration: none;
}

.connect {
    width: 100%;

    .container {
        margin: 40px 120px;
        padding: 40px;
        background: rgba($color: #23272f, $alpha: 0.8);
        border-radius: 10px;
        padding-right: 120px;
    }

    .bilibili {
        width: 1100px;
        height: 185px;
        background: url("../../assets/img/bi_bg.webp") no-repeat;
        background-size: 100% 100%;
        display: flex;
        padding-top: 116px;
        padding-bottom: 16px;
        cursor: pointer;
        overflow: hidden;
        transition: .2s ease;
        border: 1px solid transparent;
        border-radius: 5px;

        &:hover {
            border: 1px solid #ffc14d;
        }

        .bi {
            margin-left: 20px;
            height: 100%;
            display: flex;
            align-items: center;

            .bi_img {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                // overflow: hidden;
                position: relative;
                border: 2px solid hsla(0, 0%, 100%, .4);

                img {
                    width: 100%;
                    height: 100%;
                    display: block;
                    border-radius: 50%;

                }

                span {
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    width: 18px;
                    height: 18px;
                    background: url(../../assets/img/bi_icon.png) no-repeat;
                    background-size: 100% 100%;

                }
            }
        }

        .bi_con {
            margin-left: 22px;

            .bi_tit {
                display: flex;
                align-items: center;
                color: white;

                span {
                    &:nth-child(1) {
                        margin-right: 5px;
                        font-weight: 700;
                        line-height: 18px;
                        font-size: 18px;
                    }

                    &:nth-child(2) {
                        margin-right: 5px;
                        background: url(../../assets/img/bi_icon.png) no-repeat;
                        background-size: 100% 100%;
                        height: 18px;
                        width: 18px;
                    }

                    &:nth-child(3) {
                        margin-right: 5px;
                        background: url(../../assets/img/bi_lv6.jpg) no-repeat;
                        background-size: 100% 100%;
                        width: 25px;
                        height: 11px;
                    }


                    &:nth-child(4) {
                        margin-right: 8px;
                        background: url(../../assets/img/bi_vip.webp) no-repeat;
                        background-size: 100% 100%;
                        height: 20px;
                        width: 69px;
                    }

                    &:nth-child(5) {
                        width: 37px;
                        height: 16px;
                        border-color: rgb(141, 124, 166);
                        color: rgb(255, 255, 255);
                        background-image: linear-gradient(90deg, rgb(141, 124, 166), rgb(141, 124, 166));
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-weight: 400;
                        font-size: 10px;
                    }

                    &:nth-child(6) {
                        border: 0.5px solid rgb(141, 124, 166);
                        color: rgb(141, 124, 166);
                        width: 18px;
                        height: 16px;
                        background: #fff;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 10px;
                    }
                }
            }

            .bi_span {
                margin-top: 6px;
                background: transparent;
                border-radius: 4px;
                border: none;
                box-shadow: none;
                color: hsla(0, 0%, 100%, .8);
                font-size: 12px;
                font-family: Microsoft Yahei;
                line-height: 26px;
                height: 26px;
                margin-left: -5px;
                padding: 0 5px;
                position: relative;
                top: -1px;
                width: 730px;
                font-weight: 400;
            }
        }
    }

    .connect_other {
        padding: 20px 0;
        line-height: 30px;
        font-size: 24px;
        border-bottom: 1px solid #333;

        p {
            color: #eee;
            margin-bottom: 20px;
        }

        a {

            color: #999;
            margin-right: 30px;

            &:hover {
                text-decoration: underline;

            }
        }
    }

    .connect_msg {
        border-radius: 5px;
        padding: 10px;
        padding-right: 0;
        margin-top: 10px;

        h3 {
            font-size: 28px;
            color: #eee;
        }

        .connect_msg_con {
            margin: 20px 0;
            border-top: 1px solid #333;
            color: #999;

            p {
                em {
                    font-weight: bold;
                }

                font-size: 18px;
                color: #999;
                margin: 20px 0;
            }
        }

        h4 {
            font-size: 20px;
            color: #eee;
            margin: 30px 0 10px 0;
        }

        .input_name {
            width: 100px;
            border-radius: 5px 0 0 5px;
        }

        input {
            width: 500px;
            border: 1px solid #333;
            border-radius: 0 5px 5px 0;
            line-height: 20px;
            font-size: 16px;
            resize: none;
            padding: 10px;
            background: none;
            color: #eee;

            &:focus {
                outline: none;
                border: 1px solid #999;

            }
        }
    }
}</style>
